package com.abner.log;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: GUOYN
 * @create: 2024/5/13 15:57
 */
@Aspect
@Component
public class AnnotationPointCut {

    @Before("execution(* com.abner.service.UserServiceImpl.*(..))")
    public void before(){
        System.out.println("---------方法执行前---------");
    }
}
